let fs = require("fs");
let cn = require("./Localization.js");


let strs = fs.readFileSync("./quests.xml").toString()

strs = strs.replace(/value="([^"]+)"/g,(v, a1) => {
    return `value="${cn[a1]?.cn || a1}"`
});

fs.writeFileSync("./quests_cn.xml", strs)




